package com.zte.claa.inficombo.csa.app.model.dev;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonFormat;

public class DevJoinState {
	private static final String DTFormat = "yyyy-MM-dd HH:mm:ss";
	private static final String TIME_ZONE = "GMT+8";
	
	private String devEUI;
	private String devVer;
	private String devClass;
	
	@JsonFormat(pattern=DTFormat, timezone = TIME_ZONE)
	private Timestamp rptTime;
	
	public DevJoinState(){
		this.rptTime = new Timestamp(System.currentTimeMillis());
	}

	public String getDevEUI() {
		return devEUI;
	}

	public void setDevEUI(String devEUI) {
		this.devEUI = devEUI;
	}

	public Timestamp getRptTime() {
		return rptTime;
	}

	public void setRptTime(Timestamp rptTime) {
		this.rptTime = rptTime;
	}

	public String getDevVer() {
		return devVer;
	}

	public void setDevVer(String devVer) {
		this.devVer = devVer;
	}

	public String getDevClass() {
		return devClass;
	}

	public void setDevClass(String devClass) {
		this.devClass = devClass;
	}
	
}
